home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekkan Dennou Club 147
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan).7z
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan) (Track 1).bin
/
games
/
ippon
/
source.lzh
/
FuncEffect
/
explzako.c
< prev
next >
Wrap
C/C++ Source or Header
|
2000-07-07
|
474b
|
30 lines
/* expl.c 中ボス爆発パターン */
#include <xsp2lib.h>
#include "../main.h"
#include "../effect.h"
static short EffectMoveExpl (EFFECT *);
/* エフェクト出現時に呼ばれる */
void EffectAllocExpl (EFFECT * p)
{
p->pt = obj_explall;
p->info = 0x0100 | PRIORITY_BOSS_EXPL;
p->func_effect_move = EffectMoveExpl;
}
/* ザコキャラ爆発 */
static short EffectMoveExpl (EFFECT * p)
{
if (p->pt++ >= obj_explall + 38 - 1)
return (-1);
else
xobj_set_st (p);
return (0);
}